<?php 
/*
<form action='<?php echo Mapper::url('/lead/enviarRelatorio'); ?>' method='post'>
	<label>Email: </label>
	<input type='text' name='send_email' />
	<input type='submit' value='Enviar' />
</form>
*/
?>
<div id="popUp" class='modal' style="width: 506px; height:222px; border: 1px solid black; position: absolute;"> 
    <div class="content"> 
        <h1>Enviar</h1> 
        <form action='<?php echo Mapper::url('/lead/enviarRelatorio'); ?>' method='post' target="cria_email">
            <fieldset> 
                <ul class="form"> 
                    <li> 
                        <label for="">E-mail:</label> 
                        <input type='text' name='send_email'/>
                    </li> 
                    <li> 
                        <label for="">Assunto:</label> 
                        <input type="text" name="send_assunto"/> 
                    </li> 
                </ul>
                <input type="button" class="botaoCinza right" value="Cancelar" onclick="{location.href='<?php echo Mapper::url('/lead');?>'}"/> 
                <input type="submit" class="botaoCinza right" value="Enviar"/> 
            </fieldset> 
        </form> 
    </div> 
</div>
<iframe name="cria_email" style="display:none;"></iframe>
<style type='text/css'>
.modal 
{
    position: absolute;
    top: 25%;
    left: 30%;
    z-index: 5000;
    background-color: #FFF;
}
</style>